package com.hpjpw.ido.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主题图片，最多三张对象 ido_topic_img
 * 
 * @author lk
 * @date 2021-03-27
 */
@ApiModel("TopicImgDomain")
public class TopicImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 主题id */
    @Excel(name = "主题id")
    @ApiModelProperty("主题id")
    private Long topicId;

    /** 主题内容 */
    @Excel(name = "主题内容")
    @ApiModelProperty("主题内容")
    private String topicContent;

    /** 第一张图片链接 */
    @Excel(name = "第一张图片链接")
    @ApiModelProperty("第一张图片链接")
    private String topicImg1Url;

    /** 第二张图片链接 */
    @Excel(name = "第二张图片链接")
    @ApiModelProperty("第二张图片链接")
    private String topicImg2Url;

    /** 第三张图片链接 */
    @Excel(name = "第三张图片链接")
    @ApiModelProperty("第三张图片链接")
    private String topicImg3Url;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setTopicContent(String topicContent) 
    {
        this.topicContent = topicContent;
    }

    public String getTopicContent() 
    {
        return topicContent;
    }
    public void setTopicImg1Url(String topicImg1Url) 
    {
        this.topicImg1Url = topicImg1Url;
    }

    public String getTopicImg1Url() 
    {
        return topicImg1Url;
    }
    public void setTopicImg2Url(String topicImg2Url) 
    {
        this.topicImg2Url = topicImg2Url;
    }

    public String getTopicImg2Url() 
    {
        return topicImg2Url;
    }
    public void setTopicImg3Url(String topicImg3Url) 
    {
        this.topicImg3Url = topicImg3Url;
    }

    public String getTopicImg3Url() 
    {
        return topicImg3Url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topicId", getTopicId())
            .append("topicContent", getTopicContent())
            .append("topicImg1Url", getTopicImg1Url())
            .append("topicImg2Url", getTopicImg2Url())
            .append("topicImg3Url", getTopicImg3Url())
            .toString();
    }
}
